package sheep.view.Component;

import java.awt.Color;
import java.awt.Component;
import java.awt.Graphics;
import javax.swing.*;
import javax.swing.border.*;
import sheep.view.utils.swingx.DropShadowBorder;

//==========================================================================

public class CoolBar extends JToolBar {
        
  //==========================================================================  
    
  public CoolBar(boolean flag) {
      
    if (flag){         
      Border outerBorder = new DropShadowBorder(Color.BLACK, 0, 10, .5f,                               
              12, false, true, true, false) {
        @Override               
        public void paintBorder(Component c, Graphics graphics, int x, int y, int width, int height) {                 
          super.paintBorder(c, graphics, x , y, width, height);               }          };          
      setBorder(outerBorder);      
    }    
  }
  
  //==========================================================================  
     
}

//==========================================================================  
   